package com.centaline.androidsalesblog.api;

import com.centaline.androidsalesblog.BuildConfig;
import com.centaline.androidsalesblog.base.BaseApi;
import com.centaline.androidsalesblog.model.responseobject.AppUpdateRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * app 升级
 * Created by guilin on 16/5/3.
 */
public class AppUpdateApi extends BaseApi<AppUpdateRo> {

    public AppUpdateApi(Class<?> tag, Class<AppUpdateRo> aClass, IResponseListener<AppUpdateRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {

    }

    @Override
    protected String getIp() {
        return BuildConfig.DEBUG ?
                "http://10.4.18.33:8002/index/AppVersion" :
                "http://mobileapi.centanet.com/index/AppVersion";
    }

    @Override
    protected String getPath() {
        return "";
    }
}
